/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package cz.mzk.kramerius.imports;

import cz.mzk.kramerius.commons.DatastreamId;

/**
 *
 * @author Martin Řehánek <rehan at mzk.cz>
 */
public class ReferencedManagedDs implements Datastream {

    private final ReferenceType referenceType;
    private final String reference;
    private final DatastreamId id;
    private final String label;
    private final String formatUri;
    private final String mimeType;

    public ReferencedManagedDs(ReferenceType referenceType, String reference, DatastreamId id, String label, String formatUri, String mimeType) {
        this.referenceType = referenceType;
        this.reference = reference;
        this.id = id;
        this.label = label;
        this.formatUri = formatUri;
        this.mimeType = mimeType;
    }

    public DatastreamId getId() {
        return id;
    }

    public ControlGroup getControlGroup() {
        return ControlGroup.M;
    }

    public ReferenceType getReferenceType() {
        return referenceType;
    }

    public String getReference() {
        return reference;
    }

    public String getLabel() {
        return label;
    }

    public String getMimeType() {
        return mimeType;
    }

    public String getFormatUri() {
        return formatUri;
    }
}
